package cn.zyzpp.dao;

import cn.zyzpp.entity.resume.Campus;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CampusDao extends JpaRepository<Campus,Integer> {
    List<Campus> findAllByUid(int uid);

    int deleteAllById(int id);
    Campus findAllById(int id);
    Campus findByUid(int uid);
}
